# -*- coding: utf-8 -*-
# @Author: zishuiliufeng
# @Date:   2020-08-22 10:43:18
# @Last Modified by:   zishuiliufeng
# @Last Modified time: 2020-08-25 16:53:54
import pymysql
pymysql.install_as_MySQLdb()  # 告诉django用pymysql代替mysqldb连接数据库